#include<bits/stdc++.h>
#include<cstdio>
using namespace std;
int main(){
freopen("color.in","r",stdin);
freopen("color.out","w",stdout);
cout<<"1"<<endl;
cout<<"0"<<endl;
cout<<"8"<<endl;
return 0;
}
